package com.qidian.mes.sys.config;

import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Time 2023/11/1 9:44
 * @Description
 */
//@Configuration
public class MESMVCCongif implements WebMvcConfigurer {
//    @Override
//    public void addCorsMappings(CorsRegistry registry) {
//        registry.addMapping("/**").allowedOriginPatterns("*").allowedHeaders("*").allowedMethods("*");
//    }
}
